package com.ruoyi.rsikManage.mapper;

import com.ruoyi.rsikManage.domain.MonitorPoint;
import com.ruoyi.rsikManage.domain.MonitorPointHistory;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface MonitorPointHistoryMapper {

    List<MonitorPointHistory> selectMonitorPointHistory(@Param("apeId") String apeId, @Param("startTime") Date startTime, @Param("endTime")Date endTime, @Param("isOnline") String isOnline);

    int recordCurrentStatusOfAllMonitoringPoint(List<MonitorPoint> monitorPoints);

    int recordCurrentStatusOfAllMonitoringPointForUnitCodes(List<MonitorPoint> monitorPoints);

}
